package com.penghaisoft.microwms.product.service;

import com.penghaisoft.microwms.common.data.model.ProHandOut;
import com.penghaisoft.microwms.common.dto.ProHandOutDto;
import com.penghaisoft.microwms.common.dto.Resp;
import com.penghaisoft.microwms.common.dto.TransResult;
import com.penghaisoft.microwms.common.page.Pager;

import java.util.List;

/**
 * <p>
 * 业务接口类
 * </p>
 *
 * @author
 * @createDate
 **/
public interface IProHandOutService {

	public Resp create(ProHandOut proHandOut);

	public Resp delete(ProHandOut proHandOut);

	public Pager<ProHandOut> findListByCondition(int page, int rows, ProHandOut condition);

	public ProHandOut findById(String id);

	public Resp update(ProHandOut proHandOut);

	public Resp updateByNo(ProHandOut proHandOut);

	public Resp loadBill(ProHandOut proHandOut);

	public List<ProHandOut> queryListByAny(ProHandOut condition);

	public List<ProHandOut> queryListByStatus(ProHandOut condition);

	public TransResult handOutScanBarcode(ProHandOutDto proHandOutDto);

	public TransResult handOutComplete(ProHandOutDto proHandOutDto);

	public TransResult handOutDelBarcode(ProHandOutDto proHandOutDto);

	public Resp insert(List<ProHandOut> list, String handOutNo, String loginName);

	/**
	 * 手工出库打印
	 */
	public TransResult queryPrint(ProHandOut condition);

	public TransResult handToSell(ProHandOut proHandOut);

}
